import SMERouter from 'sme-router';

const router = new SMERouter('app', "html5")
import loginRoute from '$r/login'
import advRoute from '$r/adv'
import advListRoute from '$r/advList'
import adminListRoute from '$r/adminList'

window.router = router
router.route('/login',loginRoute)
router.route('/adv',advRoute)
router.route("/adv/adminList",adminListRoute)
router.route("/adv/advList",advListRoute)